package com.wdd.myplatform.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.MongoId;

import java.io.Serializable;

/**
 * @author Administrator
 */
@Data
public class MongoTest implements Serializable {

    private static final long serialVersionUID = -4249332377054985380L;

    @MongoId
    private String id;

    private Integer age;

    private String name;
}
